// FloatingOrigin.h
#ifndef FLOATINGORIGIN_ONCE
#define FLOATINGORIGIN_ONCE

#include "Math.h"

namespace OpenGL {

class FloatingOrigin
{
private:
	Math::dvec3 origin;
	bool enabled;

public:
	FloatingOrigin();
	~FloatingOrigin();

	//void bind();
	//void unbind();

	bool isEnabled() const {return enabled;}

	void enable( bool on = true );
	void set(const Math::dvec3 &);
	//void set(const Math::dvec2 &);
	Math::dvec3 get() const;
	//Math::dvec2 get2D() const;
};

}

#endif